package org.jeecg.modules.checkInventoryPt.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: pt盘点表
 * @Author: jeecg-boot
 * @Date:   2024-07-24
 * @Version: V1.0
 */
@Data
@TableName("check_inventory_pt")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="check_inventory_pt对象", description="pt盘点表")
public class CheckInventoryPt implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
	/**品番编码*/
	@Excel(name = "品番编码", width = 15)
    @ApiModelProperty(value = "品番编码")
    private String skuCode;
	/**数量*/
	@Excel(name = "数量", width = 15)
    @ApiModelProperty(value = "数量")
    private Integer number;
	/**货位*/
	@Excel(name = "货位", width = 15)
    @ApiModelProperty(value = "货位")
    private String location;
	/**盘点数量*/
	@Excel(name = "盘点数量", width = 15)
    @ApiModelProperty(value = "盘点数量")
    private Integer checkNumber;
	/**盘点结果*/
	@Excel(name = "盘点结果", width = 15)
    @ApiModelProperty(value = "盘点结果")
    @Dict(dicCode = "check_result")
    @ToString.Include(name = "盘点结果")
    private Integer result;
	/**盘点状态*/
	@Excel(name = "盘点状态", width = 15)
    @ApiModelProperty(value = "盘点状态")
    @Dict(dicCode = "check_status")
    @ToString.Include(name = "盘点状态")
    private Integer status;
	/**盘点人*/
	@Excel(name = "盘点人", width = 15)
    @ApiModelProperty(value = "盘点人")
    private String checkMan;
	/**盘点时间*/
	@Excel(name = "盘点时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "盘点时间")
    private Date checkTime;
	/**处理差异原因*/
	@Excel(name = "处理差异原因", width = 15)
    @ApiModelProperty(value = "处理差异原因")
    private String reason;
	/**库存表id*/
	@Excel(name = "库存表id", width = 15)
    @ApiModelProperty(value = "库存表id")
    private String inventoryId;
	/**差异数量*/
	@Excel(name = "差异数量", width = 15)
    @ApiModelProperty(value = "差异数量")
    private Integer differentNumber;
	/**箱数*/
	@Excel(name = "箱数", width = 15)
    @ApiModelProperty(value = "箱数")
    private Double boxNum;
	/**规格数*/
	@Excel(name = "规格数", width = 15)
    @ApiModelProperty(value = "规格数")
    private Integer specificationsNum;
}
